﻿using WeDonekRpc.Helper.Validate;

namespace Shop.RemoteModel.PageTemplate.Model
{
    public class PageTemplateSet
    {
        /// <summary>
        /// 模版名
        /// </summary>
        [NullValidate("shop.page.template.name.null")]
        [LenValidate("shop.page.template.name.len", 1, 50)]
        public string TemplateName { get; set; }

        /// <summary>
        /// 模版说明
        /// </summary>
        [LenValidate("shop.page.template.show.len", 0, 100)]
        public string Show { get; set; }
    }
}
